# Usage: python3 -i paulus_test.py

import logging
from pprint import pprint

from openzwave.network import ZWaveNetwork
from openzwave.option import ZWaveOption


def nice_print(value):
    pprint({key: getattr(value, key) for key in dir(value)
            if not hasattr(getattr(value, key), '__call__')})


logging.basicConfig(level=logging.INFO)
options = ZWaveOption("/zwaveusbstick")

options.set_console_output(True)
options.set_save_log_level("Debug")
options.lock()

network = ZWaveNetwork(options, log=None)
